package com.ruoyi.crm.domain;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import javax.validation.constraints.Size;
import java.util.Date;

/**
 * 客户对象 mes_customers
 *
 * @author ruoyi
 * @date 2021-09-23
 */
public class CrmCustomers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private String confirmUserName;

    public String getConfirmUserName() {
        return confirmUserName;
    }

    public void setConfirmUserName(String confirmUserName) {
        this.confirmUserName = confirmUserName;
    }

    /** uuid */
    private String custUuid;

    /** 客户类型 */
    @Excel(name = "客户类型")
    private String sysDicCustomerType;

    /** 客户编号 */
    @Excel(name = "客户编号")
    private String docNum;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String custName;

    /** 客户地址 */
    @Excel(name = "客户地址")
    private String custAddr;

    /** 编号 */
    @Excel(name = "编号")
    private String custNote;

    /** 序号 */
    @Excel(name = "序号")
    private Long custNumber;

    /** 审核人（用户表ID） */
    @Excel(name = "审核人", readConverterExp = "用=户表ID")
    private String fkConfirmUserId;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date confirmDt;

    /** 审核结果（字典表） */
    @Excel(name = "审核结果", readConverterExp = "字=典表")
    private String oaDictConfirmStatus;

    public String getFkConfirmUserId() {
        return fkConfirmUserId;
    }

    public void setFkConfirmUserId(String fkConfirmUserId) {
        this.fkConfirmUserId = fkConfirmUserId;
    }

    public Date getConfirmDt() {
        return confirmDt;
    }

    public void setConfirmDt(Date confirmDt) {
        this.confirmDt = confirmDt;
    }

    public String getOaDictConfirmStatus() {
        return oaDictConfirmStatus;
    }

    public void setOaDictConfirmStatus(String oaDictConfirmStatus) {
        this.oaDictConfirmStatus = oaDictConfirmStatus;
    }

    public String getConfirmNote() {
        return confirmNote;
    }

    public void setConfirmNote(String confirmNote) {
        this.confirmNote = confirmNote;
    }

    /** 审核意见 */
    @Excel(name = "审核意见")
    private String confirmNote;
    public void setCustUuid(String custUuid)
    {
        this.custUuid = custUuid;
    }

    public String getCustUuid()
    {
        return custUuid;
    }
    public void setSysDicCustomerType(String sysDicCustomerType)
    {
        this.sysDicCustomerType = sysDicCustomerType;
    }

    public String getSysDicCustomerType()
    {
        return sysDicCustomerType;
    }
    public void setDocNum(String docNum)
    {
        this.docNum = docNum;
    }

    public String getDocNum()
    {
        return docNum;
    }
    public void setCustName(String custName)
    {
        this.custName = custName;
    }
    public String getCustName()
    {
        return custName;
    }
    public void setCustAddr(String custAddr)
    {
        this.custAddr = custAddr;
    }
    public String getCustAddr()
    {
        return custAddr;
    }
    public void setCustNote(String custNote)
    {
        this.custNote = custNote;
    }
    public String getCustNote()
    {
        return custNote;
    }
    public void setCustNumber(Long custNumber)
    {
        this.custNumber = custNumber;
    }
    public Long getCustNumber()
    {
        return custNumber;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("custUuid", getCustUuid())
            .append("sysDicCustomerType", getSysDicCustomerType())
            .append("docNum", getDocNum())
            .append("custName", getCustName())
            .append("custAddr", getCustAddr())
            .append("custNote", getCustNote())
            .append("custNumber", getCustNumber())
            .toString();
    }
}
